﻿using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Web.Script.Services;
using System.Web.Services;
using System.Xml;

namespace RestService
{
    using System.Runtime.Serialization.Json;
    public class RestServiceImpl : IRestServiceImpl
    {
        #region IRestServiceImpl Members

        public string XMLData(string id)
        {
            return "You requested product " + id;
        }

        public string JSONData(string id)
        {
            return "You requested product " + id;
        }
       
        }

        #endregion
    }
}